% This function computes a consumer's net income available for consumption
% when she incurs formal care expenditures

function net_income = y_fc_ftn(y, x_fc, y_medi)

net_income = max(y-x_fc, y_medi);


